package band.wukong.practice.mq.activemq.hello;

import org.apache.activemq.ActiveMQConnection;

/**
 * @author wukong(wukonggg@139.com)
 */
public class MQServerConst {

    public static final String ADMIN_NAME = ActiveMQConnection.DEFAULT_USER;
    public static final String ADMIN_PASSWD = ActiveMQConnection.DEFAULT_PASSWORD;

    // java.naming.provider.url
    public static final String BROKER_URL = "tcp://localhost:61616";
    public static final String QUEUE_0 = "Q0";
    public static final String TOPIC_0 = "T0";

    // topic.xxx
    public static final String JNDI_QUEUE_0 = "java:comp/env/jndi/activemq/queue/q0-tomcat";
    public static final String JNDI_CONN_FACTORY_0 = "java:comp/env/jndi/activemq/connectionFactory";


}
